package parameter;

public class HrTalentTest {
	public static void main(String[] args) {
		Talent t1 = new Talent();
		t1.name = "张三";
		t1.workYear = 2;
		t1.sex = '男';
		t1.height = 1.88;
		
		Talent t2 = new Talent();
		t2.name = "李四";
		t2.workYear = 5;
		t2.sex = '男';
		t2.height = 1.98;
		
		Hr hr = new Hr();
		hr.giveWork(t1);
		hr.giveWork(t2);
	}
}
